This Scripture appears to encourage you to get all your anger out before the sun goes down.
Be ye angry, and sin not: let not the sun go down upon your wrath:
Ephesians 4:26 KJV
A better way to think of it is; “don’t be angry for so long you lose the Son”!